#ifndef PLAYER_H
#define PLAYER_H

#include <QObject>
#include <QHostAddress>
#include <QTcpSocket>

class Player : public QObject
{
    Q_OBJECT
public:
   explicit Player(QObject *parent = 0);
   Player(quint32 id, const QHostAddress &address, const QString &name="");
   Player(quint32 id, QTcpSocket *clientSocket, const QString &name="");

   bool isReady;
   quint32 id;
   QString name;
   QHostAddress ipAddress;
   QTcpSocket *socket;

signals:

public slots:

};

#endif // PLAYER_H
